<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="../assets/lib/NProgress/NProgress.css" />
  </head>
  <body>
    <script src="../assets/lib/NProgress/NProgress.js"></script>
    <script>
      /* 
        NProgress进度条插件的使用：
        1、先引入自带的css
        2、引入自带的js文件
        3、一般进度条都是假的，而且进度很假，可以搭配延时器来做到一个比较真实的
        4、NProgress开启NProgress.start();
        5、NProgress关闭NProgress.done();
        
        */
      NProgress.start();
      setTimeout(() => {
        NProgress.done();
      }, 5000);
    </script>
  </body>
</html>
